#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_file.py
# author:张世航
# datetime:2024/11/1 11:24
# software: PyCharm
"""
this is function  description 
"""
# import module your need

#!/usr/bin/python3

# 打开一个文件
f = open("foo.txt", "w", encoding="utf-8")

f.write( "Python 是一个非常好的语言。\n是的，的确非常好!!\n" )

# 关闭打开的文件
f.close()